treeexpander: Toggle expand on release instead of pressed
authorCorey Berla <corey@berla.me>
Tue, 29 Nov 2022 22:58:29 +0000 (14:58 -0800)
committerCorey Berla <corey@berla.me>
Wed, 30 Nov 2022 17:41:18 +0000 (09:41 -0800)
commit847b3261fcb400488bb54bea9557a797c653b048
tree9c9efdc59dc5c48b6b1fd0503e2a5b4f3eda8e1f
parent63a655e345dd4fdcd742d217f77bcae10671dbf6
treeexpander: Toggle expand on release instead of pressed

With the introduction of the hide-expander property, I noticed that
the active state would persist in many cases because the release
signal was never emitted.  In gtk3 tree expanders, expanded
on release.  gtk4 expanded on press to match window explorer.
Per irc chat, the designers didn't have a strong preference
for press or release.  In order to keep consistency and
fix this bug, let's move back to release.
gtk/gtktreeexpander.c